<div class="contentheader">
	<div class="searchdiv">	
		<%= form_tag @category, :method => 'get' do %>
			<%= hidden_field_tag :direction, params[:direction] %>
			<%= hidden_field_tag :sort_by, params[:sort_by] %>

			<%= text_field_tag :search, params[:search], class:"archive_search_box" %>
			<%= submit_tag "Search", :name => nil, class: 'button_search_box'%>
		<% end %>
	</div>

        <div class="sortdropdowndiv">
              <%= select_tag :sort_by_dropdownId, options_for_select(sort_urls(sort_options), 
                              sort_url(@sort_by, @direction)), class:"sort_by_dropdown" %>
        </div>
  
        <div class="archiv_ansichten">
            <%= image_tag("DMS_Miniaturansicht.jpg", :alt => "Vorschau Platzhalter", class: "ansicht_button") %>
            <%= image_tag("DMS_Listenansicht.jpg", :alt => "Vorschau Platzhalter", class: "ansicht_button") %>
            <%= image_tag("DMS_Detailansicht.jpg", :alt => "Vorschau Platzhalter", class: "ansicht_button") %>
        </div>
  
        <div class="filterdiv">
            <hr id="filter_hr">
            <div id="filter_text_popup">
                <div id="filter_text">
                    <span id="text">Filter&nbsp;<span id="pfeil">▼</span></span>

                </div>
                <div class="filter_popup">
                    <div class="filter_spitze"></div>
                </div>
            </div>
        </div>
  
        
</div>

